package com.zzxx.mapper;

import com.zzxx.pojo.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TravellerMapper {
    @Select("select * from traveller where id in (select travellerId from order_traveller where orderId = #{id})")
     List<Traveller> findByOrderId(String orderId);
}
